package com.gzucm.Scholarship.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@ApiModel
public class TaskDTO {

    @Valid
    @NotEmpty(message = "定时队列为空")
    @ApiModelProperty(value = "定时队列", required = true)
    private List<TaskStateDTO> stateList;

}
